// DllTest.cpp : Defines the exported functions for the DLL application.
//

#include "stdafx.h"
#include "MyThread.h"

std::auto_ptr<MyThread> g_threadGuard;

void CreateThread()
{
	g_threadGuard.reset(new MyThread());
}

void DestroyThread()
{
	g_threadGuard.reset(0);
}